package com.zenchn.dao;

import com.zenchn.generic.GenericDao;
import com.zenchn.model.TSysOauthToken;
import com.zenchn.model.TSysOauthTokenExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TSysOauthTokenMapper extends GenericDao<TSysOauthToken, String, TSysOauthTokenExample> {

    @Override
    long countByExample(TSysOauthTokenExample example);

    @Override
    int deleteByExample(TSysOauthTokenExample example);

    @Override
    int deleteByPrimaryKey(String tokenId);

    @Override
    int insert(TSysOauthToken record);

    @Override
    int insertSelective(TSysOauthToken record);

    @Override
    List<TSysOauthToken> selectByExample(TSysOauthTokenExample example);

    @Override
    TSysOauthToken selectByPrimaryKey(String tokenId);

    @Override
    int updateByExampleSelective(@Param("record") TSysOauthToken record, @Param("example") TSysOauthTokenExample example);

    @Override
    int updateByExample(@Param("record") TSysOauthToken record, @Param("example") TSysOauthTokenExample example);

    @Override
    int updateByPrimaryKeySelective(TSysOauthToken record);

    @Override
    int updateByPrimaryKey(TSysOauthToken record);
}